setPointerIcon

open fun setPointerIcon(@NonNull view: View, @Nullable pointerIcon: PointerIconCompat)(source)

Set the pointer icon for the current view.

Parameters

view

view for which to set the pointer icon.

pointerIcon

A PointerIconCompat instance which will be shown when the mouse hovers.